<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../build/react.js"></script>
    <script src="../build/react-dom.js"></script>
    <script src="../build/browser.min.js"></script>
</head>
<body>
    <div id="app"></div>
    <script type="text/babel">
        function time() {
            const ele=(
                    <div>
                        <h1>hello boy ,this is react dome</h1>
                        <h4>this is a time : {new Date().toLocaleTimeString()}</h4>
                    </div>);
            ReactDOM.render(
                ele,
                document.getElementById("app")
            )
        }
        setInterval(time,1000)
    </script>
</body>
</html>